package com.tansun.easycare.rule.rulegroup.dao;

import java.util.List;
import java.util.Map;

import com.tansun.easycare.rule.common.dao.RuleBaseDao;
import com.tansun.easycare.rule.rulegroup.entity.RuleGroup;
import com.tansun.easycare.rule.rulegroup.entity.RuleGroupRef;

/**
 * 规则集规则关联关系DAO接口
 * @author lph
 * @version 2019-11-19
 */

public interface RuleGroupRefDao extends RuleBaseDao<RuleGroupRef> {
	public List<RuleGroup> findRuleGroupList(RuleGroup condition);
	
	public List<RuleGroup> findRefRuleManage(RuleGroup condition);
	
	public List<String> findManageIdByRuleId(String ruleId);
	
	public List<String> findManageIdByRuleIds(List<String> ids);
	
	public void deleteByManageID(RuleGroupRef ruleGroupRef);
	
    void deleteByMutilVersion(Map<String,Object> map);
}